﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MatrixMultiplication
{
    class Program
    {
        Random _random = new Random();
        public void Main(string[] args)
        {
            const int i = 4;
            const int j = 5;
            const int k = 6;
            int[,] matrix1 = FillMatrixRandom(i, j);
            int[,] matrx2 = FillMatrixRandom(j, k);


        }

        public int[,] FillMatrixRandom(int i, int j)
        {
            int[,] matrix = new int[i,j];
            for (int k = 0; k < i; k++)
            {
                for (int l = 0; l < j; l++)
                {
                    matrix[k, l] = _random.Next(0, 100);
                }
            }
            return matrix;
        }
        public int[,] MatrixMultiplication (int[,] matrix1, int[,] matrix2)
        {
            int[,] matrixResult = new int[matrix1.GetLength(0),matrix2.GetLength(1)];
            int x;
            for (int i = 0; i < matrix1.GetLength(0); i++)
            {
                for (int j = 0; j < matrix1.GetLength(1); j++)
                {
                    for (int k = 0; k < matrix2.GetLength(1); k++)
                    {
                              x = matrix1
                    }
                }
            }
        }
    }
}
